package com.sl.au.entity;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonBackReference;

@Entity
@Table(name = "sl_dcms_bussiness_inspect_detail")
public class BusinessInspectDetail extends Root {

	@ManyToOne
	@JoinColumn(name = "optionId")
	private Option inspectOpt;

	@JsonBackReference
	@ManyToOne
	@JoinColumn(name = "inspectId")
	private BussinessInspection inspection;

	private String picAddr;// 图片地址

	private String remark;

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getPicAddr() {
		return picAddr;
	}

	public void setPicAddr(String picAddr) {
		this.picAddr = picAddr;
	}

	public Option getInspectOpt() {
		return inspectOpt;
	}

	public void setInspectOpt(Option inspectOpt) {
		this.inspectOpt = inspectOpt;
	}

	public BussinessInspection getInspection() {
		return inspection;
	}

	public void setInspection(BussinessInspection inspection) {
		this.inspection = inspection;
	}

}
